Skip to content

docs: HarnessBench design spec#280

Open
ytallo wants to merge 1 commit into
mainfrom
feat/mot-3534-harnessbench
Open

docs: HarnessBench design spec#280
ytallo wants to merge 1 commit into
mainfrom
feat/mot-3534-harnessbench

Conversation

@ytallo

@ytallo ytallo commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Adds the design spec for HarnessBench — a harness benchmark that runs the same prompt across multiple model/config variants and compares how each performs. The doc lives at tech-specs/2026-06-agentic/harnessbench.md, alongside the other agentic specs.

This PR is the design doc only — no implementation yet.

Scope (MVP)

A new harnessbench worker (orchestration + metrics, no UI) plus an internal comparison view in console.

Highlights

  • Benchmark run = one fixed prompt × N config variants ("legs"). Each leg can override model / provider / thinking-level and any harness SendOptions (system_prompt, max_turns, output, functions).
  • Read + orchestrate, not instrument — every metric comes from already-persisted data: per-message usage (tokens/cost), transcript timestamps, and OTel spans.
  • Two-tier metrics — Tier-1 from the session transcript (wall time, turn count, tool calls, tokens, cost, final context size); Tier-2 trace enrichment (span count, avg span time), best-effort so the MVP has no hard trace-retention dependency.
  • Durable, event-driven orchestration — fan out harness::send per leg, complete reactively via harness::turn-completed, with a sweep fallback for dropped events.
  • Worker surfaceharnessbench::create-run | status | get | list.

Out of scope (later layers on the same functions)

Correctness grading, multi-turn scenarios, the standalone harnessbench.iii.dev site, and CI/regression baselines.

Ref: https://linear.app/motia/issue/MOT-3534/harnessbench

@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
workers Ready Ready Preview, Comment Jun 17, 2026 12:36pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ytallo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: af584cc5-d22a-49e6-8050-8179c4120928

📥 Commits

Reviewing files that changed from the base of the PR and between 56dfcd2 and 1fe04f1.

📒 Files selected for processing (1)
  • tech-specs/2026-06-agentic/harnessbench.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/mot-3534-harnessbench

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

skill-check — worker

0 verified, 27 skipped (no docs/).

Layer Result
structure
vale
ai
render

Four for four. Nicely done.

@ytallo ytallo closed this Jun 28, 2026
@ytallo ytallo reopened this Jun 28, 2026
@ytallo
ytallo marked this pull request as ready for review July 3, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant